/*
    This file is part of Slydini.

    Slydini is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Slydini is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Slydini.  If not, see <http://www.gnu.org/licenses/>.
*/
/********************************************************************************
** Form generated from reading ui file 'choose_background.ui'
**
** Created: Wed 29. Apr 08:48:35 2009
**      by: Qt User Interface Compiler version 4.5.0
**
** WARNING! All changes made in this file will be lost when recompiling ui file!
********************************************************************************/

#ifndef CHOOSE_BACKGROUND_UI_H
#define CHOOSE_BACKGROUND_UI_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QHeaderView>
#include <QtGui/QToolButton>
#include <QtGui/QWidget>
#include <Q3IconView>  
#include <Q3IconViewItem>  
#include <QtGui/QPixmap> 
#include <QDir>

#include <cstdlib>
#include <iostream>
#include <stdio.h>
#include <dirent.h>


QT_BEGIN_NAMESPACE

class Ui_Choose_background_form
{
public:
    QToolButton *toolButtonRemove;
    QToolButton *toolButtonAdd;
    QToolButton *toolButtonExit;
    Q3IconView *iconView;
    Q3IconView *iconView_2;
    QPixmap *picture;
    QPixmap *picture_2;

    void setupUi(QWidget *Choose_background_form)
    {
        if (Choose_background_form->objectName().isEmpty())
            Choose_background_form->setObjectName(QString::fromUtf8("Choose_background_form"));
        Choose_background_form->resize(950, 600);
        Choose_background_form->setWindowFlags(Qt::FramelessWindowHint);
        toolButtonRemove = new QToolButton(Choose_background_form);
        toolButtonRemove->setObjectName(QString::fromUtf8("toolButtonRemove"));
        toolButtonRemove->setGeometry(QRect(600, 130, 100, 100));
        toolButtonRemove->setAutoFillBackground(true);
        QIcon icon;
        icon.addPixmap(QPixmap(QString::fromUtf8("gui/ikonki/minus.png")), QIcon::Normal, QIcon::Off);
        toolButtonRemove->setIcon(icon);
        toolButtonRemove->setIconSize(QSize(100, 100));
        toolButtonRemove->setCheckable(false);
        toolButtonAdd = new QToolButton(Choose_background_form);
        toolButtonAdd->setObjectName(QString::fromUtf8("toolButtonAdd"));
        toolButtonAdd->setGeometry(QRect(600, 20, 100, 100));
        toolButtonAdd->setAutoFillBackground(false);
        QIcon icon1;
        icon1.addPixmap(QPixmap(QString::fromUtf8("gui/ikonki/plus.png")), QIcon::Normal, QIcon::Off);
        toolButtonAdd->setIcon(icon1);
        toolButtonAdd->setIconSize(QSize(100, 100));
        toolButtonExit = new QToolButton(Choose_background_form);
        toolButtonExit->setObjectName(QString::fromUtf8("toolButtonExit"));
        toolButtonExit->setGeometry(QRect(600, 490, 100, 100));
        toolButtonExit->setAutoFillBackground(true);
        QIcon icon2;
        icon2.addPixmap(QPixmap(QString::fromUtf8("gui/ikonki/home.png")), QIcon::Normal, QIcon::Off);
        toolButtonExit->setIcon(icon2);
        toolButtonExit->setIconSize(QSize(100, 100));
        toolButtonExit->setCheckable(false);

        iconView = new Q3IconView(Choose_background_form);
        iconView->setMaxItemWidth(160);        
         QDir dir(QString("gui/images1/"), "*.jpg");
         for (unsigned int i = 0; i < dir.count(); i++) {
             picture = new QPixmap(QString::fromUtf8("gui/images1/") + dir[i]);
             (void) new Q3IconViewItem( iconView, dir[i], picture->scaledToWidth(160) );
             delete picture;
             }
        iconView->setMaxItemWidth(160);
        iconView->move(10,20);
        iconView->resize( 530, 570);
        iconView->setItemsMovable(false);
        
        iconView_2 = new Q3IconView(Choose_background_form);
        iconView_2->setMaxItemWidth(160);        
         QDir dir2(QString("gui/images2/"), "*.jpg");
         for (unsigned int i = 0; i < dir2.count(); i++) {
             picture_2 = new QPixmap(QString::fromUtf8("gui/images2/") + dir2[i]);
             (void) new Q3IconViewItem( iconView_2, dir2[i], picture_2->scaledToWidth(160) );
             delete picture_2;
             }
        iconView_2->setMaxItemWidth(160);
        iconView_2->move(750,20);
        iconView_2->resize( 190, 570);
        iconView_2->setItemsMovable(false);

        retranslateUi(Choose_background_form);

        QMetaObject::connectSlotsByName(Choose_background_form);
    } // setupUi

    void retranslateUi(QWidget *Choose_background_form)
    {
        Choose_background_form->setWindowTitle(QApplication::translate("Choose_background_form", "Form", 0, QApplication::UnicodeUTF8));
        toolButtonRemove->setText(QString());
        toolButtonAdd->setText(QString());
        toolButtonExit->setText(QString());
        Q_UNUSED(Choose_background_form);
    } // retranslateUi

};

namespace Ui {
    class Choose_background_form: public Ui_Choose_background_form {};
} // namespace Ui

QT_END_NAMESPACE

#endif // CHOOSE_BACKGROUND_UI_H
